<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>登录</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/layui/layui.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/login.css}"/>
    <link rel="stylesheet" type="text/css" th:href="@{/css/zhiwang.css}"/>
</head>
<body>
<div th:replace="unit/main-unit :: nav"></div>
<div class="index-all">
    <div class="index-main">
        <div class="index-top"></div>
        <div class="index-mid">
            <div class="index-left"><p class="index-p"><a href="javascript:void(0); ">登录</a></p></div>
            <div class="index-right"><p class="index-p"><a href="javascript:void(0);"> 注册</a></p></div>
        </div>
        <div class="index-form">
            <form class="layui-form" action="">
                <div class="layui-form-item index-item">
                    <div class="layui-input-block index-autt">
                        <input id="username" value="20171515110" type="text" name="username" required lay-verify="required" placeholder="请输入账号"
                               autocomplete="off" class="layui-input index-input">
                    </div>
                </div>
                <div class="layui-form-item index-item">
                    <div class="layui-input-inline index-autt" id="index-in">
                        <input id="password" value="123456" type="password" name="password" required lay-verify="required" placeholder="请输入密码"
                               autocomplete="off" class="layui-input index-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button onclick="login()" type="button" class="layui-btn index-button">立即登录</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript" th:src="@{/js/jquery-3.4.1.min.js}"></script>
<script type="text/javascript" th:src="@{/js/login.js}"></script>
</body>
</html>